﻿#pragma once

#include "AbstractEditorWidget.h"

namespace Domy {

/**
 * @brief The NodeEditorWidget class
 * @note  节点编辑器
 */
class NodeEditorWidget : public AbstractEditorWidget
{
    Q_OBJECT
public:
    explicit NodeEditorWidget(QWidget *parent = Q_NULLPTR);
    ~NodeEditorWidget();

    /**
     * @brief triggerAction
     * @note  触发动作
     * @param key 动作key
     */
    virtual void triggerAction(ActionKey key) override;
};

} // namespace Domy
